package core;

import java.io.*;

public class Input {
	private static File File;
	private static BufferedReader Reader;
	
	public static void OpenFile(String name) throws Exception {
		File = new File(name);
		Reader = new BufferedReader(new FileReader(File));
	}
	
	public static String NextLine() throws Exception {
		return Reader.readLine();
	}
	
	public static void Close() {
		try {
			Reader.close();
		} catch (Exception e) {
			// ignore
		}
	}
}
